
include $(LITEOSTESTTOPDIR)/config.mk

MODULE_NAME := memtest

LOCAL_INCLUDE := \
    -I $(LITEOSTESTTOPDIR)/kernel/include \
    -I $(LITEOSTESTTOPDIR)/kernel/sample/kernel_base/mem/mem_test
SRC_MODULES := sem event queue mux rwlock


ifeq ($(LOSCFG_TEST_SMOKE), y)
SMOKE_MODULES := mem_test/smoke

ifeq ($(LOSCFG_TEST_FULL), y)
FULL_MODULES := mem_test/full
endif

LOCAL_MODULES := $(SRC_MODULES)$(SMOKE_MODULES) $(FULL_MODULES) $(SMP_MODULES)
LOCAL_SRCS := $(foreach dir,$(LOCAL_MODULES),$(wildcard $(dir)/*.c))
LOCAL_CHS := $(foreach dir,$(LOCAL_MODULES),$(wildcard $(dir)/*.h))

LOCAL_FLAGS :=  $(LOCAL_INCLUDE)  -Wno-error

include $(MODULE)
